<%@ page language="java" pageEncoding="UTF-8"
	contentType="text/html; charset=UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<!DOCTYPE html>
<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
		<title>会员注册</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
		<meta name="verify-v1"
			content="gNntuhTm2rH7Qa/GPp6lf0mIp9KQsjejNs+i1LZhG7U=" />
		<link
			href="http://img.xiami.com/res/img/common/ipad/xiami_logo_apple.png"
			rel="apple-touch-icon" />
		<link
			href="http://st.xiami.com/??res/v3/css/global.css,res/v3/css/unlogin.css?ver=11022201"
			rel="stylesheet" media="all" />
		<script type="text/javascript" src="./js/jquery-1.7.2.min.js">
</script>
		<script type="text/javascript" src="./register_files/register.js">
</script>
		<script type="text/javascript" src="./register_files/base.js">
</script>
		<link href="images/icon.gif" type="image/x-icon" rel="shortcut icon">
		<SCRIPT type="text/javascript">
function changeValidateCode(obj) {   
//获取当前的时间作为参数，无具体意义   
var timenow = new Date().getTime();   
//每次请求需要一个不同的参数，否则可能会返回同样的验证码   
//这和浏览器的缓存机制有关系，也可以把页面设置为不缓存，这样就不用这个参数了。   
obj.src="rand.action?d="+timenow;   
} 
</SCRIPT>
	</head>
	<body>
		<div id="wrapper">
			<div id="head_wrap">
				<a href="/ShareMusicProject/"> <img title="享受音乐  享受快乐"
						src="images/xiang-3.gif" width="102" height="42" hspace="500"
						vspace="200" align="absbottom"
						style="padding-top: 10px; margin-left: 140px;" /> </a>
			</div>
			<div id="body_wrap" class="unlogin member_page">
				<div id="content" class="clearfix">
					<div class="section">
						<span class="sec_top_dark"></span>
						<div class="sec_content clearfix">
							<h2 class="text">
								注册享乐会员
								<span class="direct_login text f14">已经有享乐账号? <a
									href="/ShareMusicProject/login.jsp">请直接登录</a>
								</span>
							</h2>
							<div class="unlogin_form fl">
								<s:form action="/register"
									onsubmit="return checkreg(&#39;www&#39;);">
									<input type="hidden" name="from" value="">
									<input type="hidden" name="t" value="">
									<p>
										<label class="f_label" for="email_reg">
											您的用户名：
										</label>
										<input type="text" id="email_reg" class="noime txt_input r3px"
											name="username" value="" onblur="checkmail();"
											spellcheck="false">
										<input type="hidden" name="invite_code" value="">
										<span class="hint" id="email_info">用来登录享乐网,建议使用常用Email</span>




									</p>
									<p>
										<label class="f_label" for="nickname_reg">
											昵称：
										</label>
										<input name="nickname" type="text" class="txt_input r3px"
											id="nickname_reg" maxlength="12" onblur="checkname();"
											value="" spellcheck="false">
										<span class="hint" id="name_info">使用你在网上常用昵称，小于12个字符</span>
									</p>
									<p>
										<label class="f_label" for="password_reg">
											设置密码：
										</label>
										<input type="password" id="password_reg"
											class="txt_input r3px" maxlength="20" name="password"
											value="" onblur="checkPasswords();">
										<span class="hint" id="password_info">6-16个字符</span>
									</p>



									<p>
										<label class="f_label" for="verifypass">
											重复密码：
										</label>
										<input type="password" id="verifypass" class="txt_input r3px"
											maxlength="20" name="repeatpassword" value=""
											onblur="checkPasswords();">
									</p>
									<p id="validate_code">
										<label class="f_label" for="validate">
											验证码：
										</label>
										<input type="text" id="validate" class="txt_input r3px"
											maxlength="6" name="rand" value="" style="width: 50px;">
										<img src="rand.action"  onclick="changeValidateCode(this)" title="点击图片刷新验证码"/> 
										<span class="hint">输入上图的验证码</span>
									</p>
									<p></p>
									<p class="acts">
										<input type="hidden" name="submit" value="11">
										<input type="hidden" name="target" value="">
										<input class="text blue_btn blue_btn2 r3px f14" type="submit"
											value="注 册" id="reg_submit" name="regsubmit">
										<span id="submiting"></span>
									</p>
									<p class="acts">
										
										<span class="hint warning" id="agreement_info"></span>
									</p>
								</s:form>
							</div>
						</div>
						<span class="sec_bot_dark"></span>
					</div>
				</div>
				<!-- #content -->
			</div>
			<!-- #body_wrap -->
		</div>
		<!-- #wrapper -->

		<div id="footer">
			<div id="foot_wrap" class="clearfix">
				<p class="fl vam gray" id="follow_xiami">
					关注享乐：
					<a href="javascript:;" title="新浪微博" rel="nofollow"><i
						class="social_gray sina"></i>
					</a>
					<a href="javascript:;" title="人人网" rel="nofollow"><i
						class="social_gray renren"></i>
					</a>
					<a href="javascript:;" title="QQ 空间" rel="nofollow"><i
						class="social_gray qzone"></i>
					</a>
					<a href="javascript:;" title="腾讯微博" rel="nofollow"><i
						class="social_gray qqt"></i>
					</a>
					<a href="javascript:;" title="搜狐微博" rel="nofollow"><i
						class="social_gray sohu"></i>
					</a>
					<a href="javascript:;" title="豆瓣" rel="nofollow"><i
						class="social_gray douban"></i>
					</a>

				</p>
				<p id="copyright" class="fr" style="margin-left: 10px;">
					<img src="images/bottom.gif" />
					<p style="float: right;">
						©2012
						<a href="./index.jsp">享乐网</a>
					</p>
				</p>
			</div>
			<!-- #foot_wrap -->
		</div>
		<!--[if IE 6]>
<script src="http://st.xiami.com/res/v3/js/DD_belatedPNG.js"></script>
<script>DD_belatedPNG.fix('.png, .play');</script>
<![endif]-->
		<iframe src="./register_files/loginStatus.htm" name="loginStatus"
			style="position: absolute; visibility: hidden; width: 1px; height: 1px;"></iframe>
	</body>
</html>